<?php


class PokaYokeHtml extends PokaYokeRetriever
{
	public function retrieve( $options )
	{
        // String Cast is used to avoid a bug while checking large integer values
		if ( $this->value !== "" && ctype_xdigit( ( string ) $this->value ) ) {
			return $this->value;
    	}

    	throw new PokaYokeException(
			"Cannot filter the value [ type: " . gettype( $this->value ) . " ] into hexadecimal type"
		);

		return false;
	}
}


?>